<center> 

{$seltype}
<table class="ltGreydkGreyBorder" width="40%"> 
 <tr>
 <th class="ltBlueformHeader"> Record Type </th>
 <th class="ltBlueformHeader"> Priority </th> 
 <th class="ltBlueformHeader"> HostName </th> 
 <th class="ltBlueformHeader"> Ip Address </th> 
</tr>
</form> 
<form method="POST" id="updateForm" name="updateForm" action="update.php" > 
<input type="hidden" name="rid" value="{$rid}"> 
{section name="oldRecords" loop="$dnsRecords"}
<tr bgcolor="#FFFFFF">
<td>
<!-- <select name="rtype">
{html_options values="$rtypes" selected="$rtype" output="$rtypes"}
</select>-->

<select id="rtypes" name="rtype"> 
    {html_options selected="$seltype" values=$rtypes options=$rtypes}
</select> 


 
</td>
<td> <input type="text" name="priority" value="{$dnsRecords[oldRecords].priority}">  </td> 
<td> <input type="text" name="hostname" value="{$dnsRecords[oldRecords].hostname}"> </td> 
<td> <input type="text" name="hostip" value="{$dnsRecords[oldRecords].hostip}">  </tD> 
</tr>
{/section} 

<tr> 
 <td colspan="4"> <center> <input type="submit" class="loginButton" value="Update Records"> </centeR> 
 
 
 </tD> 
</tr> 

</table>
</form> 
